4D Pack v13.2AP fopen |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Pack v13.2
AP fopen
AP fopen
The AP fopen command calls the “fopen” ANSI C command, which enables the opening of serial or parallel ports (on Windows) or the direct creation of files. The value returned by this function is then used with the AP FPRINT command to write through the port, or to write the file. The opened port or file can then be closed using the command AP FCLOSE. Note: On Mac OS, this function works only with the direct creation of files. Writing "hello world" on the parallel port: Writing "hello world" on the serial port: Writing "hello world" in a file: |
PROPERTIES
Product: 4D Pack
INDEX HISTORY
Created: 4D Pack 6 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||